dayup = 1.0
state = 'i'
a = 'i'
temp = 0
for i in range (365):
    if state == a and (temp in [0,1,2]):
            dayup = 1 * dayup
            temp = (temp + 1)%7
    elif state == a and (temp in [3,4,5,6]):
            dayup = dayup * 1.01
            temp = (temp + 1)%7
    elif state == unstudy:
            temp = 0
print("天天工作的力量：{:.2f} ".format(dayup))